package com.shareppy.norman.core.db;

public interface CursorWrapper<C> {

	int FIELD_TYPE_INTEGER = 1;

	int FIELD_TYPE_FLOAT = 2;

	int FIELD_TYPE_STRING = 3;

	int getInt(int index);

	long getLong(int index);

	float getFloat(int index);

	double getDouble(int index);

	String getString(int index);

	void moveToFirst();

	void close();

	void moveToNext();

	int getColumnCount();

	boolean isAfterLast();

	int getType(int index);

	String getColumnName(int index);

	int getColumnIndex(String name);

	C raw();
}